package com.zy.studentSide.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zy.studentSide.dao.StudentTaskFileDao;
import com.zy.studentSide.entity.StudentTaskFile;
import com.zy.studentSide.service.IStudentTaskFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 29787
 */
@Service
public class IStudentTaskFileServiceImpl extends ServiceImpl<StudentTaskFileDao, StudentTaskFile> implements IStudentTaskFileService {

    @Autowired
    private StudentTaskFileDao studentTaskFileDao;

    @Override
    public StudentTaskFile getStudentTaskFileById(Integer taskId, Integer studentId) {
        return studentTaskFileDao.getStudentTaskFileById(taskId, studentId);
    }

    @Override
    public StudentTaskFile getStudentTaskFile(Integer taskId, Integer studentId, Integer uploadFileId) {
        return studentTaskFileDao.getStudentTaskFile(taskId, studentId, uploadFileId);
    }
}
